Platform Explorer / Nuxeo Platform 2023.13

Contribution org.nuxeo.ecm.platform.routing.contentView.contrib--contentViews

This contribution is part of XML component org.nuxeo.ecm.platform.routing.contentView.contrib inside nuxeo-routing-web-2023.13.9.jar /OSGI-INF/routing-content-view-contrib.xml

Extension Point

Extension point contentViews of component ContentViewService.

Registration Order

11
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <contentView name="route_past_steps">
          <title>label.document.routing.past.steps</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
          <coreQueryPageProvider>
            <property name="coreSession">#{documentManager}</property>
            <parameter>#{currentDocument.id}</parameter>
            <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
            <searchDocumentType>TaskDoc</searchDocumentType>
            <whereClause>
              <fixedPart>
                nt:targetDocumentsIds = ? AND
                nt:processId = ? AND
                ecm:currentLifeCycleState = 'ended'
              </fixedPart>
            </whereClause>
            <pageSize>10</pageSize>
          </coreQueryPageProvider>
          <showFilterForm>false</showFilterForm>
          <showRefreshCommand>false</showRefreshCommand>
          <showPageSizeSelector>false</showPageSizeSelector>
          <useGlobalPageSize>false</useGlobalPageSize>
          <refresh>
            <event>documentCreated</event>
            <event>workflowTaskCompleted</event>
            <event>tasksCacheReset</event>
          </refresh>
          <cacheSize>10</cacheSize>
          <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
          </cacheKey>
          <resultLayouts>
            <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
          </resultLayouts>
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="route_past_steps">
      <title>label.document.routing.past.steps</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <parameter>#{currentDocument.id}</parameter>
        <parameter>#{routingActions.getRelatedRoute().getDocument().getId()}</parameter>
        <searchDocumentType>TaskDoc</searchDocumentType>
        <whereClause>
          <fixedPart>
            nt:targetDocumentsIds = ? AND
            nt:processId = ? AND
            ecm:currentLifeCycleState = 'ended'
          </fixedPart>
        </whereClause>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>
      <showFilterForm>false</showFilterForm>
      <showRefreshCommand>false</showRefreshCommand>
      <showPageSizeSelector>false</showPageSizeSelector>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>documentCreated</event>
        <event>workflowTaskCompleted</event>
        <event>tasksCacheReset</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
      </cacheKey>
      <resultLayouts>
        <layout iconPath="" name="route_content_view_layout" showCSVExport="false" showPDFExport="false" title="" translateTitle=""/>
      </resultLayouts>
    </contentView>
  </extension>